package ihc.terminalbanco.gui.panels;

import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionListener;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

public class RetireSeuDinheiroPane extends JPanel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7007627485588422133L;

	public RetireSeuDinheiroPane(ActionListener actionListener, Font font) {
		
		this.setLayout(new BorderLayout());

		/*
		 * Panels
		 */
						
		//CENTER

		JPanel painelCentral = new JPanel();
		painelCentral.setLayout(new GridLayout(2, 1, 0, 30));
				
		JLabel retireSeu = new JLabel("RETIRE O SEU");
		retireSeu.setFont(font);
		retireSeu.setHorizontalAlignment(SwingConstants.CENTER);
		retireSeu.setVerticalAlignment(SwingConstants.BOTTOM);
		
		JLabel dinheiro = new JLabel("DINHEIRO");
		dinheiro.setFont(font);
		dinheiro.setHorizontalAlignment(SwingConstants.CENTER);
		dinheiro.setVerticalAlignment(SwingConstants.TOP);
		
		painelCentral.add(retireSeu);
		painelCentral.add(dinheiro);
					
		
		//Juntando
		JPanel painelCentralPrincipal = new JPanel();
		painelCentralPrincipal.setLayout(new GridLayout(1, 1));
		painelCentralPrincipal.add(painelCentral);
		
		this.add(painelCentralPrincipal, BorderLayout.CENTER);
		
	}
}
